package com.zhangtai.modules.dto;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.zhangtai.config.LongJsonDeserializer;
import com.zhangtai.config.LongJsonSerializer;
import io.swagger.models.auth.In;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;


/**
 * 
 *
 * @author chenshun
 * @email sunlightcs@gmail.com
 * @date 2020-07-28 16:29:08
 */
@Data
@TableName("tb_dimission")
public class DimissionDto implements Serializable {
	private static final long serialVersionUID = 1L;

			/**
		 * id
		 */
				@TableId
		@JsonDeserialize(using = LongJsonDeserializer.class)
		@JsonSerialize(using = LongJsonSerializer.class)
			private Long id;
			/**
		 * 员工id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long oid;
			/**
		 * 申请人
		 */
			private String applyName;
			/**
		 * 申请日期
		 */
			private Date applyDate;
			/**
		 * 工号
		 */
			private String code;
			/**
		 * 入职日期
		 */
			private Date hiredate;
			/**
		 * 姓名
		 */
			private String name;
			/**
		 * 部门id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long unitId;

	private String unitname;
			/**
		 * 公司id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long orgId;
	/**
	 * 拟录用公司
	 */
	private String orgname;
			/**
		 * 岗位id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long jobId;
	/**
	 * 拟录用岗位
	 */
	private String jobname;
			/**
		 * 职级id
		 */
			@JsonDeserialize(using = LongJsonDeserializer.class)
			@JsonSerialize(using = LongJsonSerializer.class)
			private Long joblevelId;


	/**
	 * 职级
	 */
	private String jobLevel;
			/**
		 * 职级类别
		 */
			private Integer joblevelType;
			/**
		 * 离职日期
		 */
			private Date dimissionTime;
			/**
		 * 交接人
		 */
			private String associate;
			/**
		 * 主管辅导
		 */
			private Integer zhudaoScore;
			/**
		 * 薪资报酬
		 */
			private Integer salaryScore;
			/**
		 * 工作时长
		 */
			private Integer workTimeScore;
			/**
		 * 培训获得
		 */
			private Integer trainGetScore;
			/**
		 * 晋升机会
		 */
			private Integer promotionScore;
			/**
		 * 沟通渠道
		 */
			private Integer communicationScore;

	
}
